export default (url:string)=>{
    return url.startsWith("https") ? require("https") : require("http")
}